package org.person.gift.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.person.gift.domain.Employee;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TenantRegisterDto {
    @NotBlank(message = "租户名称不能为空")
    private String companyName;
    @NotBlank(message = "租户电话不能为空")
    private String companyNum;
    @NotBlank(message = "租户地址不能为空")
    private String address;
    @NotBlank(message = "租户logo不能为空")
    private String logo;
    private String longitude;
    private String latitude;
    private Employee admin;
    private List<Long> mealIds;

}
